<template>
  <div>
    <div>获取用户</div>

  </div>
</template>
<script>
  import { getUser } from '@/api/shop/user.js'
  export default {
    data () {
      return {
      }
    },
    created () {
      this.getUser()

    },
    methods: {
        getUser () {
          getUser().then(res => {
            console.log(res)
          })
        }
    },
  }
</script>
